<?
$roomId= isset($_POST['roomId']) ? $_POST['roomId'] : "";
$ms= isset($_POST['ms']) ? $_POST['ms'] : "";
$ms=str_replace("\n","<br>",$ms);

if($roomId>0 && !empty($ms))
{
	$dbsql->query("update ".$GLOBALS['first_table']."tblchat set cText=concat(cText,'".$username."++".$ms."$$') where iChatId=$roomId");
	echo ".(*_*)ok(*_*)inserted(*_*).";
	exit();
}
echo ".(*_*)false(*_*)false(*_*).";
exit();
?>